package com.xu.lambda;

import java.util.function.Supplier;

/**
 *
 * @author xudenghui
 * @create 2023-04-05 14:19
 **/
public class SupplierDemo {
    public static void main(String[] args) {
        Supplier<String>  result = ()->"Hello world";
        System.out.println(result.get());
    }
}
